package me.chanjar.weixin.cp.bean.license.order;

import java.io.Serializable;

import com.google.gson.annotations.SerializedName;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import me.chanjar.weixin.cp.util.json.WxCpGsonBuilder;

/**
 * @ClassName WxCpTpLicenseSetAutoActiveStatusRequest
 * @Description 设置企业的许可自动激活状态
 * @Author 艾成林
 * @Version 2023/03/22 10:23
 **/
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class WxCpTpLicenseSetAutoActiveStatusRequest implements Serializable {
  private static final long serialVersionUID = 6644560301282598903L;

  @SerializedName("corpid")
  private String corpId;

  @SerializedName("auto_active_status")
  private Integer autoActiveStatus;


  public String toJson() {
    return WxCpGsonBuilder.create().toJson(this);
  }
}
